.class Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;
.super Ljava/lang/Object;
.source "ElementWorkspaceControlBtn.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceControlBtn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "BandAidLeftOnTouchListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;


# direct methods
.method private constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter

    .prologue
    .line 1551
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 1551
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    return-void
.end method


# virtual methods
.method public onLongPressdown(Lcom/nemustech/tiffany/world/TFModel;IFF)Z
    .locals 1
    .parameter "model"
    .parameter "faceIndex"
    .parameter "x"
    .parameter "y"

    .prologue
    .line 1597
    const/4 v0, 0x0

    return v0
.end method

.method public onSelected(Lcom/nemustech/tiffany/world/TFModel;IFF)Z
    .locals 4
    .parameter "model"
    .parameter "faceIndex"
    .parameter "x"
    .parameter "y"

    .prologue
    const/4 v3, 0x1

    .line 1583
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_1

    .line 1585
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->startActivitySafely(Landroid/content/Intent;)V

    .line 1586
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[BandAidLeftOnTouchListener.onSelected()] LeftApp >>>>>>>>>>>>>>>>>"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1587
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 1588
    const-string v0, "ElementWorkspaceControlBtn"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[BandAidLeftOnTouchListener.onSelected()] PackageName="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1589
    const-string v0, "ElementWorkspaceControlBtn"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[BandAidLeftOnTouchListener.onSelected()] ClassName="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1592
    :cond_1
    return v3
.end method

.method public onTouchDown(Lcom/nemustech/tiffany/world/TFModel;IFF)Z
    .locals 2
    .parameter "model"
    .parameter "faceIndex"
    .parameter "x"
    .parameter "y"

    .prologue
    .line 1577
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandLeftPanelImg(I)V

    .line 1578
    const/4 v0, 0x0

    return v0
.end method

.method public onTouchDrag(Lcom/nemustech/tiffany/world/TFModel;IFFFFI)Z
    .locals 6
    .parameter "model"
    .parameter "faceIndex"
    .parameter "sx"
    .parameter "sy"
    .parameter "ex"
    .parameter "ey"
    .parameter "tickPassed"

    .prologue
    const/4 v3, 0x2

    const/4 v2, 0x1

    .line 1563
    if-ne v2, p2, :cond_0

    move v0, v2

    .line 1572
    :goto_0
    return v0

    .line 1564
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    const/4 v1, 0x6

    if-eq v0, v1, :cond_1

    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    if-nez v0, :cond_2

    .line 1566
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandLeftPanelImg(I)V

    .line 1567
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    move v1, p3

    move v2, p4

    move v3, p5

    move v4, p6

    move v5, p7

    invoke-static/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2500(Lcom/nemustech/regina/ElementWorkspaceControlBtn;FFFFI)Z

    move-result v0

    goto :goto_0

    .line 1568
    :cond_2
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_3

    .line 1569
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandLeftPanelImg(I)V

    .line 1570
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    move v1, p3

    move v2, p4

    move v3, p5

    move v4, p6

    move v5, p7

    invoke-static/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;FFFFI)Z

    move-result v0

    goto :goto_0

    :cond_3
    move v0, v2

    .line 1572
    goto :goto_0
.end method

.method public onTouchUp(Lcom/nemustech/tiffany/world/TFModel;IFF)Z
    .locals 5
    .parameter "model"
    .parameter "faceIndex"
    .parameter "x"
    .parameter "y"

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 1554
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getAngle(I)F

    move-result v0

    cmpl-float v0, v0, v3

    if-nez v0, :cond_0

    .line 1555
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-virtual {v0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandLeftPanelImg(I)V

    .line 1556
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2400(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F

    move-result v1

    const v2, 0x3c23d70a

    invoke-virtual {v0, v3, v1, v3, v2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFF)V

    .line 1558
    :cond_0
    return v4
.end method
